package com.hxy.hrm.dto;


import com.hxy.hrm.domain.Employee;
import com.hxy.hrm.domain.Tenant;

import javax.validation.constraints.NotNull;

public class TenantEnteringDto {
    private Employee employee;
    private Tenant tenant;
    //覆盖默认提示信息
    @NotNull(message = "套餐不能为null")
    /*支持国际化 i18n*/
    //@NotNull(message = "{javax.validation.constraints.NotNull.message}")
    private Long mealId;

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public Tenant getTenant() {
        return tenant;
    }

    public void setTenant(Tenant tenant) {
        this.tenant = tenant;
    }

    public Long getMealId() {
        return mealId;
    }

    public void setMealId(Long mealId) {
        this.mealId = mealId;
    }
}
